$black_000000: #000000;
$white_ffffff: #ffffff;
$white_ffffffe6: #ffffffe6;
@use "@/assets/scss/index.scss" as globalVar;

body {
  background: url("@/assets/images/ocean-3605547_1280.jpg") no-repeat;
  background-size: 100% 130%;
}

.s-login {
  background-color: $white_ffffffe6;
  text-align: center;
  border-radius: 10px;
  padding: 50px;
  box-sizing: border-box;
  width: 350px;
  min-height: 350px;
  position: sticky;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  .s-login__title {
    padding: 0;
    margin: 0;
    color: #2f62a7;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .s-login__logo {
      width: 80px;
    }
    .s-login__lang {
      width: 120px;
    }
  }
  .s-login__tabs {
    margin-top: 16px;
  }
  .el-input__wrapper {
    box-shadow: none;
    &:hover {
      box-shadow: none;
    }

    &.is-focus {
      box-shadow: none;
    }
  }

  .s-login__password,
  .s-login__verify {
    margin-top: 16px;
  }
  .s-login__verify {
    position: relative;

    .s-login__code {
      position: absolute;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      font-size: 12px;
      color: #6c6c6c;
      margin-right: 10px;
      cursor: pointer;
      &:hover {
        color: globalVar.$color-green-01;
      }
    }
  }
  .s-login__phone,
  .s-login__username,
  .s-login__password,
  .s-login__verify {
    .el-input__inner {
      background: transparent;
      border: 0;
      border-bottom: 2px solid $white_ffffff;
      color: $black_000000;
      font-size: 15px;
      outline: none !important;
    }
  }

  .s-login__submit {
    background-color: globalVar.$color-green-01;
    border: 0;
    border-radius: 10px;
    color: $white_ffffff;
    cursor: pointer;
    font-size: 15px;
    height: 40px;
    line-height: 40px;
    margin-top: 16px;
    text-align: center;
    width: 100%;
  }

  .s-login__forget {
    margin-top: 16px;
    text-align: right;
  }
}
